package com.sm.service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.sm.entity.User;
import com.sm.util.PageQueryUtil;



public interface UserService extends BaseService {
	/**
	 * 会员登录
	 * 
	 * @param userName
	 *            账号
	 * @param password
	 *            登陆密码
	 * @return
	 * @throws Exception
	 */
	public User findUser(String userName, String password) throws Exception;
	
	public User findUserQ(String userName) throws Exception;
	/**
	 * 分页查询所以系统用户--不包括超级管理员
	 * 
	 * @param page
	 * @return
	 * @throws Exception
	 */
	public Map<String, Object> findUserAll(PageQueryUtil page, User user)
			throws Exception;
	
	public Map<String, Object> findUserRec(PageQueryUtil page, User user)
			throws Exception;
}
